import Vue from 'vue'
import Vuex from 'vuex'

import modules from './modules'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    clientInfo: {}, // 
    user: {}, // 当前登陆用户
  },
  mutations: {
    clientInfo (state, data) {
      state.clientInfo = data;
    }
  }
})
